<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<base href="<%=basePath%>"/>
	<head>
		<jsp:useBean id="s" class="com.his.struts.dao.shebei.SheBeiImp" />
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>${his.hospitalName}-医院设备</title>
		<link href="style/css.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<table width="779" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="61" align="left" valign="top">
					<table width="779" height="61" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td width="321" align="left" valign="top">
								<img src="images/icon/${his.hospitalLogo}" />
							</td>
							<td align="right" valign="top">
								<table border="0" cellpadding="0" cellspacing="0"
									style="margin-top: 31px; margin-right: 5px">
									<tr>
									<td align="right" valign="middle">
											·<c:choose>
												<c:when test="${userinfo != null}">
													<a href="front/users/userindex.jsp">${userinfo.uname}</a>
												</c:when>
												<c:when test="${docinfo != null}">
													<a href="front/users/userIndex.jsp">${docinfo.docname}</a>
												</c:when>
												<c:otherwise>
													<a href="front/userLogin.jsp">登录</a> ·
												<span><a href="front/regedit.jsp">注册</a> </span>
												</c:otherwise>
											</c:choose>
											·<a href="front/index.jsp">首页</a> ·
											<a href="connect.do?method=showConnect">联系我们</a>
											 
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="170" align="left" valign="top">
					<table width="779" height="170" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
									codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
									width="779" height="170"><param name="movie" value="media/banner.swf" />
									<param name="quality" value="high" />
									<embed src="media/banner.swf" quality="high"
										pluginspage="http://www.macromedia.com/go/getflashplayer"
										type="application/x-shockwave-flash" width="779" height="170"></embed>
								</object>
							</td>
						</tr>
						<c:if test="${userinfo.uname!=null}">
						<tr>
				<td height="33" align="left" valign="top" class="ind_top_bj" style="background-color:skyblue">
					<table width="740px" height="33" border="0" cellpadding="0" cellspacing="0"
						style="margin-left: 29px">
						<tr>
							<c:forEach items="${userFunction}" var="function">
								<td width="72">
								<a href="${function.furl }">${function.fname }</a>
								</td>
							</c:forEach>
							<td align="right">
								<a href="front/users/userInfo.jsp">个人中心</a> &nbsp; 
								<a href="exit.do?method=usersExit">退出</a>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</c:if>
				<c:if test="${docinfo.docname!=null}">
						<tr>
				<td height="33" align="left" valign="top" class="ind_top_bj"
					style="background-color: skyblue">
					<table width="740px" height="33" border="0" cellpadding="0" cellspacing="0"
						style="margin-left: 18px">
						<tr>
							<c:forEach items="${doctorFunction}" var="function">
								<td width="72" align="center">
								<a href="${function.furl }">${function.fname }</a>
								</td>
							</c:forEach>
							<td align="right">
								<a href="answer.do?method=questionMy">个人中心</a> &nbsp; 
								<a href="exit.do?method=usersExit">退出</a>
								
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</c:if>
					</table>
				</td>
			</tr>
		<tr>
		<td>
		<div style="border:1px solid skyblue; width:779px; height:800px">
		<table style=" width:755px; height:792px;float:left; margin-left: 10px" border = "0">
		<tr>
			<td align="center"   height="30px" colspan="2">
				<strong style="font-size: 24px">医院设备</strong>
				<hr />
			</td>	
		</tr>
		<tr>
		<c:forEach items="${sbList}" var="sb" varStatus="i">
		<c:if test="${i.index % 2 == 0}">
		<tr>
		</c:if>
			<td align="center">
			<img src="images/shebei/${sb.sbPic }" height="200" width="200"/>
			<br />
			${sb.sbInfo }
			</td>
		</c:forEach>
		<tr>
		<td colspan="2">
		<c:if test="${sbList != null}">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="STYLE4">
									&nbsp;&nbsp;共有 ${rowCount} 条记录，当前第 ${current}/${pageCount} 页
								</td>
								<td>
									<form action="shebei.do?method=getSb" method="post">
										<table border="0" align="right" cellpadding="0"
											cellspacing="0">
											<tr>
												<td width="40">
													<a
														href="shebei.do?method=getSb&current=1">
														首页 </a>
												</td>
												<td width="45">
													<a
														href="shebei.do?method=getSb&current=${current-1}">
														上一页 </a>
												</td>
												<td width="45">
													<a
														href="shebei.do?method=getSb&current=${current+1}">
														下一页 </a>
												</td>
												<td width="40">
													<a
														href="shebei.do?method=getSb&current=${pageCount}">
														末页 </a>
												</td>
												<td width="100">
													<div align="center">
														<span class="STYLE1">转到第 <input name="current"
																type="text" size="4"
																onkeypress="if ((event.keyCode<48 || event.keyCode>57)) {event.returnValue=false};
															if(this.value.length > 4){this.value = 10000}"
																style="height: 12px; width: 20px; border: 1px solid #999999;" />
															页 </span>
													</div>
												</td>
												<td width="40">
													<input type="image" src="images/go.gif" width="37"
														height="15" onclick="submit()" />
												</td>
											</tr>
										</table>
									</form>
								</td>
							</tr>
						</table>
					</c:if>
		</td>
		</table>
		</div>

				</td>
			</tr>
			<table width="779" height="114" border="0" align="center"
				cellpadding="0" cellspacing="0" style="margin-top: 13px">
				<tr>
					<td height="85" align="center" valign="top">
						<table border="0" cellpadding="0" cellspacing="0"	style="margin-top: 5px">
							<tr>
							<td align="center" valign="middle">
									<jsp:include page="yejiao.jsp"></jsp:include>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<script
				src="admins/SiteStat/mystat.asp~siteurl=http_　www.hz7hospital.comndex.asp.html"></script>
	</body>
</html>

												